/**
 * 
 */
package org.xelnaga.defiler.domain;

import java.util.List;

/**
 * 
 * @author qijb
 *
 */
public class ContentContainerWrapper {
	private ContentContainerModel contentContainer;
	private ContentletWrapper contentletWrapper;
	/**
	 * 
	 */
	public ContentContainerWrapper(List<FieldModel> fields, ContentContainerModel contentContainer) {
		this.contentContainer = contentContainer;
		if(null != contentContainer.getContentlet()) {
			this.contentletWrapper = new ContentletWrapper(fields, contentContainer.getContentlet());
		}
	}
	public ContentContainerModel getContentContainer() {
		return contentContainer;
	}
	public ContentletWrapper getContentletWrapper() {
		return contentletWrapper;
	}

}
